#pragma once

#include <vulkan/vulkan.hpp>
#include "Render/VulkanMemory/Buffers.h"

class CVulkanMesh
{
public:
    //仅在渲染线程
    uint32_t VertexCount = 0;
    std::shared_ptr<CVulkanVertexBuffer> VertexBuffer;

    uint32_t IndexCount = 0;
    std::shared_ptr<CVulkanIndexBuffer> IndexBuffer;

    void RecordDrawCommands(vk::CommandBuffer InCmdBuffer,int32_t InstanceCount=1, int32_t FirstInstance=0);
};
